package Common
{
	public class GameNetEvent
	{
		public function GameNetEvent()
		{
			
		}
		
		
		
		public static function init():void
		{
			
		}
		
		// login
		public static const RECV_LOGIN_ID:int = 2000;
		
		public static const SEND_LOGIN_ID:int = 2001;
		public static const SEND_LOGIN_SIZE:int = 72;
		
		public static const RECV_CREAT_NEWACCOUNT_ID:int = 2002;
		
		public static const SEND_CREAT_NEWACCOUNT_ID:int = 2003;
		public static const SEND_CREAT_NEWACCOUNT_SIZE:int = 108;
		
		public static const RECV_CREAT_ROLE_ID:int = 2004;
		public static const SEND_CREAT_ROLE_ID:int = 2005;
		public static const SEND_CREAT_ROLE_SIZE:int = 48;
		
		public static const RECV_ROLEINFO_ID:int = 2006;
		
		public static const SEND_ROLEINFO_ID:int = 2007;
		public static const SEND_ROLEINFO_SIZE:int = 4;
		
		
		public static const RECV_CHAT_ID:int = 3000;
		public static const SEND_CHAT_ID:int = 3001;
		public static const SEND_CHAT_SIZE:int = 168;
		
		public static const SEND_ENTER_ROOM_ID:int = 3010;
		public static const SEND_ENTER_ROOM_SIZE:int = 12
		public static const SEND_EXIT_ROOM_ID:int = 3011;
		public static const SEND_EXIT_ROOM_SIZE:int = 12;
		public static const RECV_ENTER_ROOM_ID:int = 3012;
		public static const RECV_EXIT_ROOM_ID:int = 3013;
		
		public static const SEND_ENTER_TABLE_ID:int = 3014;
		public static const SEND_ENTER_TABLE_SIZE:int = 16;
		public static const SEND_EXIT_TABLE_ID:int = 3015;
		public static const SEND_EXIT_TABLE_SIZE:int = 16;
		public static const RECV_ENTER_TABLE_ID:int = 3016;
		public static const RECV_EXIT_TABLE_ID:int = 3017;
		
		public static const RECV_SYN_ROOM_PLAYERS_ID:int = 3018;
		
		
		
		
		///////////////////////////////////////////////////////////////////
		
		public static const RECV_MAPINFO_ID:int = 4000;
		
		public static const RECV_ENTERMAP_ID:int = 4002;
		
		public static const RECV_PLAYERENTERMAP_ID:int = 4004;
		
		public static const RECV_EXITMAP_ID:int = 4006;
		public static const SEND_EXITMAP_ID:int = 4007;
		public static const SEND_EXITMAP_SIZE:int = 4;
		
		
		public static const RECV_MOVE_ID:int = 4008;
		
		public static const SEND_MOVE_ID:int = 4009;
		public static const SEND_MOVE_SIZE:int = 528;
		
		
		public static const RECV_NPCENTERMAP_ID:int = 4010;
		
		///////////////////////////////////////////////////////////////////
		
		public static const RECV_JOIN_TEAM_ID:int = 4500;
		public static const SEND_JOIN_TEAM_ID:int = 4501;
		public static const SEND_JOIN_TEAM_SIZE:int = 8;
		
		public static const RECV_LEAVE_TEAM_ID:int = 4502;
		public static const SEND_LEAVE_TEAM_ID:int = 4503;
		public static const SEND_LEAVE_TEAM_SIZE:int = 8;
		
		public static const RECV_SYN_TEAM_ID:int = 4504;
		
		public static const RECV_SYN_TEAM_MAP_ID:int = 4506;
		
		///////////////////////////////////////////////////////////////////
		
		public static const RECV_ACTION_ID:int = 5000;
		
		public static const SEND_ACTION_ID:int = 5001;
		public static const SEND_ACTION_SIZE:int = 12;
		
		
		public static const RECV_DIRECTION_ID:int = 5002;
		
		public static const SEND_DIRECTION_ID:int = 5003;
		public static const SEND_DIRECTION_SIZE:int = 12;
		
		///////////////////////////////////////////////////////////////////
		public static const RECV_BATTLE_ID:int = 6000;
		public static const SEND_BATTLE_ID:int = 6001;
		public static const SEND_BATTLE_SIZE:int = 12;
		
		public static const SEND_BATTLE_COMMAND_ID:int = 6003;
		public static const SEND_BATTLE_COMMAND_SIZE:int = 12;
		
		public static const RECV_BATTLE_RESULT_ID:int = 6004;
		
		
		///////////////////////////////////////////////////////////////////
		
		public static const SEND_LEVLEUP_POINT_ID:int = 6101;
		public static const SEND_LEVLEUP_POINT_SIZE:int = 8;
		
		
		
		///////////////////////////////////////////////////////////////////
		
		
		
		public static const SEND_SET_PET_TYPE_ID:int = 7001;
		public static const SEND_SET_PET_TYPE_SIZE:int = 12;
		
		public static const SEND_SET_PET_NAME_ID:int = 7003;
		public static const SEND_SET_PET_NAME_SIZE:int = 40;
		
		public static const RECV_GET_PET_ID:int = 7004;
		
		public static const SEND_GET_PET_ID:int = 7005;
		public static const SEND_GET_PET_SIZE:int = 8;
		
		
		
		///////////////////////////////////////////////////////////////////
		
		public static const SEND_SWTICH_ITEM_ID:int = 8001;
		public static const SEND_SWTICH_ITEM_SIZE:int = 8;
		
		public static const RECV_USE_ITEM_ID:int = 8002;
		
		public static const SEND_USE_ITEM_ID:int = 8003;
		public static const SEND_USE_ITEM_SIZE:int = 12;
		
		public static const SEND_DROP_EQUIP_ID:int = 8005;
		public static const SEND_DROP_EQUIP_SIZE:int = 8;
		
		public static const SEND_SWTICH_EQUIP_ID:int = 8007;
		public static const SEND_SWTICH_EQUIP_SIZE:int = 8;
		
		
		
		///////////////////////////////////////////////////////////////////
		
		public static const SEND_TALK_NPC_ID:int = 9001;
		public static const SEND_TALK_NPC_SIZE:int = 16;
		
		public static const RECV_TALK_NPC_ID:int = 9000;

		
	}
}